import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { ViewModel, NgCommand } from '@farris/devkit';
import { Observable } from 'rxjs';
var ɵ0 = { type: 'string' };
var Newobject1C6qpComponentViewmodel = /** @class */ (function (_super) {
    tslib_1.__extends(Newobject1C6qpComponentViewmodel, _super);
    function Newobject1C6qpComponentViewmodel() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.bindingPath = '/newObject1s';
        _this.dom = {
            "newobject1-c6qp-dataGrid": {
                "type": "DataGrid",
                "resourceId": "newobject1-c6qp-dataGrid",
                "visible": {
                    "useQuote": false,
                    "isExpression": false,
                    "value": true
                },
                "id": "newobject1-c6qp-dataGrid",
                "readonly": {
                    "useQuote": false,
                    "isExpression": false,
                    "value": false
                },
                "fields": [
                    {
                        "type": "GridField",
                        "resourceId": "code_dd1a198a_reer",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "code_dd1a198a_reer",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "code",
                            "fullPath": "code",
                            "isExpression": false,
                            "value": "code"
                        },
                        "dataField": "code",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "行程编号",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "code_dd1a198a_oncf",
                            "defaultI18nValue": "行程编号",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "code_dd1a198a_oncf",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "code",
                                "fullPath": "code",
                                "isExpression": false,
                                "value": "code"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "note_2150900e_1h8o",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "note_2150900e_1h8o",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "note",
                            "fullPath": "note",
                            "isExpression": false,
                            "value": "note"
                        },
                        "dataField": "note",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "行程相关备注",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "note_2150900e_yxqs",
                            "defaultI18nValue": "行程相关备注",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "note_2150900e_yxqs",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "note",
                                "fullPath": "note",
                                "isExpression": false,
                                "value": "note"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "creator_b7a0267a_c6hp",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "creator_b7a0267a_c6hp",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "creator",
                            "fullPath": "creator",
                            "isExpression": false,
                            "value": "creator"
                        },
                        "dataField": "creator",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "创建人",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "creator_b7a0267a_3fb1",
                            "defaultI18nValue": "创建人",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "creator_b7a0267a_3fb1",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "creator",
                                "fullPath": "creator",
                                "isExpression": false,
                                "value": "creator"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "createdDate_cd78225f_mo1x",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "createdDate_cd78225f_mo1x",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "createdDate",
                            "fullPath": "createdDate",
                            "isExpression": false,
                            "value": "createdDate"
                        },
                        "dataField": "createdDate",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "创建时间",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "createdDate_cd78225f_scw6",
                            "defaultI18nValue": "创建时间",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "createdDate_cd78225f_scw6",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "createdDate",
                                "fullPath": "createdDate",
                                "isExpression": false,
                                "value": "createdDate"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "kssj_35b64be0_eq84",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "kssj_35b64be0_eq84",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "kssj",
                            "fullPath": "kssj",
                            "isExpression": false,
                            "value": "kssj"
                        },
                        "dataField": "kssj",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "开始时间",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "kssj_35b64be0_rx9n",
                            "defaultI18nValue": "开始时间",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "kssj_35b64be0_rx9n",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "kssj",
                                "fullPath": "kssj",
                                "isExpression": false,
                                "value": "kssj"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "endingdate_99557baa_718g",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "endingdate_99557baa_718g",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "endingdate",
                            "fullPath": "endingdate",
                            "isExpression": false,
                            "value": "endingdate"
                        },
                        "dataField": "endingdate",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "结束时间",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "endingdate_99557baa_no9e",
                            "defaultI18nValue": "结束时间",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "endingdate_99557baa_no9e",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "endingdate",
                                "fullPath": "endingdate",
                                "isExpression": false,
                                "value": "endingdate"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "cxfs_05f75f11_je1i",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "cxfs_05f75f11_je1i",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "cxfs",
                            "fullPath": "cxfs",
                            "isExpression": false,
                            "value": "cxfs"
                        },
                        "dataField": "cxfs",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "出行方式",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "cxfs_05f75f11_sxpn",
                            "defaultI18nValue": "出行方式",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "cxfs_05f75f11_sxpn",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "cxfs",
                                "fullPath": "cxfs",
                                "isExpression": false,
                                "value": "cxfs"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "cxje_c211f483_m1ua",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "cxje_c211f483_m1ua",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "cxje",
                            "fullPath": "cxje",
                            "isExpression": false,
                            "value": "cxje"
                        },
                        "dataField": "cxje",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "出行金额",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "cxje_c211f483_uflo",
                            "defaultI18nValue": "出行金额",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "cxje_c211f483_uflo",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "cxje",
                                "fullPath": "cxje",
                                "isExpression": false,
                                "value": "cxje"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "sfybt_3a7d501f_0tuy",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "sfybt_3a7d501f_0tuy",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "sfybt",
                            "fullPath": "sfybt",
                            "isExpression": false,
                            "value": "sfybt"
                        },
                        "dataField": "sfybt",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "是否有补贴",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "sfybt_3a7d501f_1ko4",
                            "defaultI18nValue": "是否有补贴",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "sfybt_3a7d501f_1ko4",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "sfybt",
                                "fullPath": "sfybt",
                                "isExpression": false,
                                "value": "sfybt"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    },
                    {
                        "type": "GridField",
                        "resourceId": "btbz_c90d1fb5_63d2",
                        "visible": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": true
                        },
                        "id": "btbz_c90d1fb5_63d2",
                        "size": {
                            "width": 120
                        },
                        "readonly": {
                            "useQuote": false,
                            "isExpression": false,
                            "value": false
                        },
                        "binding": {
                            "type": "Form",
                            "path": "btbz",
                            "fullPath": "btbz",
                            "isExpression": false,
                            "value": "btbz"
                        },
                        "dataField": "btbz",
                        "dataType": "string",
                        "multiLanguage": false,
                        "caption": "补贴标准",
                        "editor": {
                            "type": "TextBox",
                            "isTextArea": true,
                            "resourceId": "btbz_c90d1fb5_kzpp",
                            "defaultI18nValue": "补贴标准",
                            "visible": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": true
                            },
                            "id": "btbz_c90d1fb5_kzpp",
                            "size": {},
                            "readonly": {
                                "useQuote": false,
                                "isExpression": false,
                                "value": false
                            },
                            "binding": {
                                "type": "Form",
                                "path": "btbz",
                                "fullPath": "btbz",
                                "isExpression": false,
                                "value": "btbz"
                            },
                            "disable": false,
                            "maxLength": 36,
                            "isPassword": false,
                            "enableViewPassword": false
                        },
                        "draggable": false,
                        "frozen": "none",
                        "sortable": true,
                        "aggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "groupAggregate": {
                            "type": "none",
                            "formatter": {
                                "type": "none"
                            }
                        },
                        "linkedLabelEnabled": false,
                        "updateOn": "blur",
                        "formatter": {
                            "type": "none"
                        }
                    }
                ],
                "multiSelect": false,
                "showLineNumber": false,
                "lineNumberTitle": "#",
                "groupTotalText": "Total",
                "filterable": false,
                "groupable": false,
                "rowClass": ""
            }
        };
        return _this;
    }
    Newobject1C6qpComponentViewmodel.prototype.newobject1c6qpcomponentviewmodelAddItem1 = function (commandParam) { return; };
    Newobject1C6qpComponentViewmodel.prototype.newobject1c6qpcomponentviewmodelRemoveItem1 = function (commandParam) { return; };
    tslib_1.__decorate([
        NgCommand({
            name: 'newobject1c6qpcomponentviewmodelAddItem1',
            params: {}
        }),
        tslib_1.__metadata("design:type", Function),
        tslib_1.__metadata("design:paramtypes", [Object]),
        tslib_1.__metadata("design:returntype", Observable)
    ], Newobject1C6qpComponentViewmodel.prototype, "newobject1c6qpcomponentviewmodelAddItem1", null);
    tslib_1.__decorate([
        NgCommand({
            name: 'newobject1c6qpcomponentviewmodelRemoveItem1',
            params: {
                id: '{DATA~/#{newobject1-c6qp-component}/newObject1s/id}'
            },
            paramDescriptions: {
                id: ɵ0
            }
        }),
        tslib_1.__metadata("design:type", Function),
        tslib_1.__metadata("design:paramtypes", [Object]),
        tslib_1.__metadata("design:returntype", Observable)
    ], Newobject1C6qpComponentViewmodel.prototype, "newobject1c6qpcomponentviewmodelRemoveItem1", null);
    Newobject1C6qpComponentViewmodel = tslib_1.__decorate([
        Injectable()
    ], Newobject1C6qpComponentViewmodel);
    return Newobject1C6qpComponentViewmodel;
}(ViewModel));
export { Newobject1C6qpComponentViewmodel };
export { ɵ0 };
